package com.roadmap.struts.action;

public class ActionConst {
	public static final String Aspirant_Id_In_Session = "aspirant_id_for_roadmap";

	public static final String Aspirant_Name_In_Session = "aspirant_name_for_roadmap";

	public final static String RDC_SESSION_CACHE_NAME = "RDC_SESSION_CACHE_XXXXX";

	public static final String Aspirant_Id_In_Request = "uid";
	public static final String Aspirant_Name_In_Request = "aspirantReqName";

	public static final String Item_Id_In_Request = "id";

	public static final String Parent_Id_In_Request = "pid";
	
	public static final String PAGING_PARAM = "p";

	public static final String Method_Symbol = "act";

	public static final String REQUEST_PARAM_USERNAME = "username";

	public static final String REQUEST_PARAM_SEX = "sex";

	public static final String REQUEST_PARAM_MAIL = "mail";

	public static final String MESSAGE_BOX_FLAG = "msg";

	public static final String MESSAGE_BOX_INBOX = "inbox";

	public static final String MESSAGE_BOX_SENT = "sent";

	public static final String REMOVE_SYSINFO_HOME = "remove_sys_info_home";

	public static final String USER_ORIGINAL_URL = "user_original_url";
	
	public static final String PAGING_INFO_IN_REQUEST = "pagingInfo";

	/**
	 * this flag controls the visibility of the part which can only be viewed by
	 * the information owner
	 */
	public static final String Visitor_Is_Owner = "visitorIsOwner";

	/** All attributes that may be put in sessions are collected in the array. */
	public static final String[] Attributes_In_Session = {
			Aspirant_Id_In_Session, Aspirant_Name_In_Session,
			RDC_SESSION_CACHE_NAME, REMOVE_SYSINFO_HOME, USER_ORIGINAL_URL };

	public static final String Global_Error_Message_Flag = "global_error";

	/** the max length the name to be displayed on the pages. */
	public static final int Displayed_Name_Max_Length = 20;

	/** how long data is kept in cookie */
	public static final int Cookie_Save_Time = 1000 * 60 * 60 * 24 * 15;

	public static final String Anchor_Parameter_Flag = "#v=";
	public static final String Anchor_Parameter_State = "state";
	public static final String Anchor_Parameter_Score = "score";
	public static final String Anchor_Parameter_Profile = "infor";
	public static final String Anchor_Parameter_Behavior = "behav";

	public static final String LOGON_SERVLET = "/auth/logon.jsp";

	/**
	 * Invalid URL may results in an unexpected error, if this happens, then go
	 * to the error information page
	 */
	public static final String GLOBAL_ERROR_FORWARD = "goerr";

	public static final int MAX_FRIENDS_SHOWN_IN_HOME = 10;

	public static final String PARAM_SEPARATOR = ",";

}
